﻿namespace Traffic.Entity;

/// <summary>
/// 司机表
/// </summary>
public partial class Driver
{
    public int Id { get; set; }

    /// <summary>
    /// 对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 对应SysAccount.ID
    /// </summary>
    public int SysAcId { get; set; }

    /// <summary>
    /// 司机姓名
    /// </summary>
    public string DriverName { get; set; } = null!;

    /// <summary>
    /// 身份证号
    /// </summary>
    public string? Idcard { get; set; }

    /// <summary>
    /// 手机电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 性别
    /// </summary>
    public string? Sex { get; set; }

    /// <summary>
    /// 对应车牌号
    /// </summary>
    public string? CarNo { get; set; }

    /// <summary>
    /// 从业资格证号
    /// </summary>
    public string? Certified { get; set; }

    public string? WxOpenId { get; set; }

    /// <summary>
    /// 跓点省份
    /// </summary>
    public string? Province { get; set; }

    /// <summary>
    /// 跓点城市
    /// </summary>
    public string? City { get; set; }

    /// <summary>
    /// 跓点行政区
    /// </summary>
    public string? District { get; set; }

    /// <summary>
    /// 家庭住址、跓点地址
    /// </summary>
    public string? HomeAddress { get; set; }

    /// <summary>
    /// 公司地址
    /// </summary>
    public string? CompanyAddress { get; set; }

    public bool IsPrivate { get; set; }

    /// <summary>
    /// 司机头像图片
    /// </summary>
    public string? HeadPic { get; set; }

    /// <summary>
    /// 状态  默认1正常  1：正常  0：停用
    /// </summary>
    public bool Status { get; set; }
}
